package com.kkb.shopcenter.api;

import com.github.pagehelper.PageInfo;
import com.kkb.shopcenter.common.pojo.UserInfo;

import java.util.List;

public interface UserInfoService {
    List<UserInfo> getAllUserInfo();

    int addUserInfo(UserInfo userInfo);

    int updateUserInfo(UserInfo userInfo);

    int deleteUserById(Long id);

    PageInfo<UserInfo> getPageUserInfo(int pageNum,int pageSize);

    UserInfo findByUsername(String username);
}
